package com.kzj.fun.interfaces.impl;

import com.kzj.fun.container.root.RootPanel;
import java.awt.*;


public class PaintLineMenuFunction extends PaintGraphMenuFunction {
    public PaintLineMenuFunction(RootPanel rootPanel){
        super(rootPanel);
    }

    @Override
    void paint(Graphics2D g2d) {
        g2d.drawLine(startPoint.x,startPoint.y,endPoint.x,endPoint.y);
    }
}
